SMAHB05300_[자동판정]결과보기.xrw 109 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 :
  4. * 설 명 :
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 : 이상소견 - LR ,
  10. 분류별검사결과 - DR
  11. 영상검사결과 - ARES
  12. 건강위험도 평가는 그때 그때
  13. -->
  14. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  15. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  16. <xhtml:head>
  17. <xhtml:title>[자동판정]결과보기</xhtml:title>
  18. <model id="model1">
  19. <instance id="instance1">
  20. <root xmlns="">
  21. <main>
  22. <patinfo/>
  23. <condition>
  24. <instcd/>
  25. <qrcl/>
  26. <wkdate/>
  27. <flag/>
  28. <inqrrptid/>
  29. <sexflag/>
  30. <rptclsf/>
  31. <healexamflag/>
  32. <rsrvdd/>
  33. <rsrvno/>
  34. <healexamdetlflag/>
  35. </condition>
  36. <amaw>
  37. <item>
  38. <sel/>
  39. <lastupdtdt/>
  40. <lastupdtrid/>
  41. <cnstcnts/>
  42. <instcd/>
  43. <healexamflag/>
  44. <healexamdetlflag/>
  45. <rsrvdd/>
  46. <rsrvno/>
  47. <cnstclsf/>
  48. <cnstseq/>
  49. <pid/>
  50. </item>
  51. </amaw>
  52. <grade>
  53. <item>
  54. <lastupdtdt/>
  55. <lastupdtrid/>
  56. <cnstcnts/>
  57. <instcd/>
  58. <healexamflag/>
  59. <healexamdetlflag/>
  60. <rsrvdd/>
  61. <rsrvno/>
  62. <cnstclsf/>
  63. <cnstseq/>
  64. <pid/>
  65. <dracptyn/>
  66. </item>
  67. </grade>
  68. <health>
  69. <item>
  70. <lastupdtdt/>
  71. <lastupdtrid/>
  72. <dracptyn/>
  73. <instcd/>
  74. <healexamflag/>
  75. <healexamdetlflag/>
  76. <rsrvdd/>
  77. <rsrvno/>
  78. <cnstclsf/>
  79. <cnstseq/>
  80. <cnstcnts/>
  81. <pid/>
  82. </item>
  83. </health>
  84. <recommedlist>
  85. <item>
  86. <cnstcnts/>
  87. <lastupdtdt/>
  88. <lastupdtrid/>
  89. <dracptyn/>
  90. <instcd/>
  91. <healexamflag/>
  92. <healexamdetlflag/>
  93. <rsrvdd/>
  94. <rsrvno/>
  95. <cnstclsf/>
  96. <cnstseq/>
  97. <pid/>
  98. </item>
  99. </recommedlist>
  100. <ajlrlist>
  101. <item/>
  102. </ajlrlist>
  103. <resultlist>
  104. <item>
  105. <prntyn/>
  106. <mixno/>
  107. <cmt/>
  108. <updtnm/>
  109. <drfindings/>
  110. <updtyn/>
  111. <diagcd/>
  112. <drstmt/>
  113. <futerm/>
  114. <drreqdeptcd/>
  115. <rsrvdd/>
  116. <rsrvno/>
  117. <instcd/>
  118. <healexamflag/>
  119. <healexamdetlflag/>
  120. <insseq/>
  121. <pid/>
  122. <updtid/>
  123. <seqno/>
  124. <ajclscd1/>
  125. <ajclscd2/>
  126. <ajclscd3/>
  127. <tretdd/>
  128. <grade/>
  129. <mixseqno/>
  130. </item>
  131. </resultlist>
  132. <ajtroulist>
  133. <item/>
  134. </ajtroulist>
  135. <testcls>
  136. <item/>
  137. </testcls>
  138. <testlist>
  139. <item/>
  140. </testlist>
  141. <ctlist>
  142. <item/>
  143. </ctlist>
  144. <ctdetllist>
  145. <item/>
  146. </ctdetllist>
  147. <patsumm>
  148. <item>
  149. <summ_data0/>
  150. <summ_data1/>
  151. <summ_data2/>
  152. <summ_data3/>
  153. <summ_data4/>
  154. <summ_totdata/>
  155. </item>
  156. </patsumm>
  157. <data>
  158. <c_list>
  159. </c_list>
  160. <ro_list>
  161. </ro_list>
  162. <u_list>
  163. </u_list>
  164. <rd_list/>
  165. <m_list/>
  166. <s_list/>
  167. <lvl1_list>
  168. </lvl1_list>
  169. <lvl2_list/>
  170. <lvl3_list/>
  171. <sim_list>
  172. <item1/>
  173. <item2/>
  174. </sim_list>
  175. <desa1_list/>
  176. <desa_list>
  177. <item1/>
  178. </desa_list>
  179. <f_list/>
  180. <f2_list>
  181. <item1/>
  182. <item2/>
  183. </f2_list>
  184. </data>
  185. </main>
  186. <init>
  187. <baseinfo>
  188. <choiflaglst/>
  189. <hedetlflaglst/>
  190. <rslttypelst/>
  191. <plceflag/>
  192. <pamcdlst>
  193. <uncocdlst/>
  194. <disccdlst/>
  195. </pamcdlst>
  196. <inqrflag/>
  197. <drlst>
  198. <itemdr/>
  199. </drlst>
  200. <statlst/>
  201. <rptgroup/>
  202. <healexamplacelst/>
  203. </baseinfo>
  204. <send>
  205. <srchhealexamdetlflag/>
  206. <srchpid2/>
  207. <srchpnm/>
  208. <srchasischk/>
  209. <srchhealexamplacecd/>
  210. <srcrsrvdd/>
  211. <srcrsrvno/>
  212. <srcpid/>
  213. <srchngnm/>
  214. <srcsex/>
  215. <rrgstno1/>
  216. <rrgstno2/>
  217. </send>
  218. <userdata>
  219. <userid/>
  220. <usernm/>
  221. </userdata>
  222. <A0002list>
  223. <A0002>
  224. <cdnm/>
  225. <cdid/>
  226. </A0002>
  227. </A0002list>
  228. <A0005list>
  229. <A0005>
  230. <cdnm/>
  231. <cdid/>
  232. </A0005>
  233. </A0005list>
  234. <A0013list>
  235. <A0013>
  236. <cdnm/>
  237. <cdid/>
  238. </A0013>
  239. </A0013list>
  240. <A0042list>
  241. <A0042>
  242. <cdnm/>
  243. <cdid/>
  244. </A0042>
  245. </A0042list>
  246. <ajrmlist>
  247. <drstmt/>
  248. <seqno/>
  249. <ajclscd1/>
  250. <ajclscd2/>
  251. <ajclscd3/>
  252. </ajrmlist>
  253. </init>
  254. <hidden>
  255. <aa/>
  256. </hidden>
  257. <temp>
  258. <tempexmp>
  259. <itemexmp>
  260. <rsltcd/>
  261. <rsltnm/>
  262. </itemexmp>
  263. </tempexmp>
  264. <popupmenu>
  265. <item>
  266. <name>선택</name>
  267. <func>fCheck</func>
  268. </item>
  269. <item>
  270. <name>선택취소</name>
  271. <func>fCnclCheck</func>
  272. </item>
  273. </popupmenu>
  274. </temp>
  275. <disply>
  276. <langlst/>
  277. <rptqrcl>
  278. <trdpth/>
  279. <ajclscd/>
  280. <ajclsnm/>
  281. </rptqrcl>
  282. </disply>
  283. <popupdata>
  284. <ajclscd1/>
  285. <ajclscd2/>
  286. <ajclscd3/>
  287. <prcpcd/>
  288. <clickyn/>
  289. <fromdd/>
  290. <todd/>
  291. <endyn/>
  292. </popupdata>
  293. <send_05300>
  294. <reqdata>
  295. <savedata/>
  296. </reqdata>
  297. </send_05300>
  298. <tmp>
  299. <tabflag/>
  300. <drrecm/>
  301. <cmt/>
  302. <futerm/>
  303. <send_05300>
  304. <reqdata>
  305. <savedata>
  306. </savedata>
  307. </reqdata>
  308. </send_05300>
  309. <ajmmlist/>
  310. </tmp>
  311. <updatelist>
  312. <send_05300>
  313. <reqdata>
  314. </reqdata>
  315. </send_05300>
  316. </updatelist>
  317. </root>
  318. </instance>
  319. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  320. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  321. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  322. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  323. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  324. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  325. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  326. <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
  327. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  328. <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
  329. <script type="javascript" ev:event="xforms-ready">
  330. <![CDATA[
  331. fPatInfoSet();
  332. fGetBasicCdList();
  333. fGetRsltPatList(); //화면 우측의 결과 요약,운동능력평가등을 가져온다.
  334. button5.dispatch("onclick");//이상소견 조회
  335. fPatSumm();
  336. // fRetrive("C")
  337. model.refresh();
  338. ]]>
  339. </script>
  340. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  341. <submission id="TRZBC00101"/>
  342. <submission id="TRAHB04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlist"/>
  343. <submission id="TRAHB01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/room/roomlst"/>
  344. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  345. <submission id="TRAHB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/choilst"/>
  346. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  347. <bind id="bind_rslt" ref="/root/main/rsltlst/item/testrsltcnts" readonly="../rsltflag=&quot;O&quot;"/>
  348. <submission id="TRAHB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/init/baseinfo/item"/>
  349. <submission id="TRAHB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/anslst"/>
  350. <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/drlst"/>
  351. <submission id="TRAHB00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/assorsltlst"/>
  352. <submission id="TRAHR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/rsltlst"/>
  353. <submission id="TXAHR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  354. <submission id="TXAHR00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveallout" replace="instance" resultref="/root/hidden"/>
  355. <submission id="TRAHR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acptinfo/inqrlst"/>
  356. <submission id="TRAHB01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/authlst"/>
  357. <submission id="TRAHB04702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/disply/rptqrcl"/>
  358. <submission id="TRAHB05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptlst"/>
  359. <submission id="TRAHB05112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/amaw"/>
  360. <submission id="TRAHB05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/health"/>
  361. <submission id="TRAHB05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/recommedlist"/>
  362. <submission id="TRAHB05316" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/grade"/>
  363. <submission id="TRAHB05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/resultlist"/>
  364. <submission id="TRAHB05318" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/resultlist"/>
  365. <submission id="TRAHB05304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ajtroulist"/>
  366. <submission id="TRAHB05305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/testcls"/>
  367. <submission id="TRAHB05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdenlist"/>
  368. <submission id="TRAHB05307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/framlist"/>
  369. <submission id="TRAHB05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ahbmajsdlist"/>
  370. <submission id="TRAHB05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdentestlist"/>
  371. <submission id="TRAHB05310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/simdenrelist"/>
  372. <submission id="TRAHB05311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/framresult"/>
  373. <submission id="TXAHB05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/amaw" replace="instance" resultref="/root/hidden"/>
  374. <submission id="TXAHB05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/health" replace="instance" resultref="/root/hidden"/>
  375. <submission id="TXAHB05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/grade" replace="instance" resultref="/root/hidden"/>
  376. <submission id="TXAHB05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/recommedlist" replace="instance" resultref="/root/hidden"/>
  377. <submission id="TXAHB05305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata/resultlist" replace="instance" resultref="/root/hidden"/>
  378. <submission id="TRAHB05312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/ctlist"/>
  379. <submission id="TRAHB05317" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" replace="instance" resultref="/root/main/testlist"/>
  380. <submission id="TRAHB05313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/ctdetllist"/>
  381. <submission id="TRAHB05314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/patsumm"/>
  382. <submission id="TRAHB05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/main/data"/>
  383. <submission id="TXAHB05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/updatelist/send_05300/reqdata/savedata"/>
  384. <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
  385. <submission id="TRAHB05315" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05300/reqdata" resultref="/root/init/ajrmlist"/>
  386. <submission id="TXAHB05307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/updatelist/send_05300/reqdata/savedata" resultref="/root/hidden"/>
  387. </model>
  388. <script type="javascript">
  389. <![CDATA[
  390. function fPatSumm(){
  391. //이상소견을 조회하는 시점에서 조회 조건을 생성함.
  392. submit("TRAHB05314",false);
  393. var vtotdata = model.getValue("/root/main/patsumm/item/summ_data0")
  394. +"\n" + model.getValue("/root/main/patsumm/item/summ_data1")
  395. +"\n" + model.getValue("/root/main/patsumm/item/summ_data2")
  396. +"\n" + model.getValue("/root/main/patsumm/item/summ_data3")
  397. +"\n" + model.getValue("/root/main/patsumm/item/summ_data4") ;
  398. model.makeNode("/root/main/patsumm/item/summ_totdata");
  399. model.setValue("/root/main/patsumm/item/summ_totdata" , vtotdata);
  400. textarea1.refresh();
  401. }//fPatSumm end
  402. /**===================================================================================
  403. // 본화면은 팝업으로 호출되는 화면이므로 호출될때 받은 데이터를 화면에 set해준다.
  404. =====================================================================================*/
  405. function fPatInfoSet(){
  406. model.copyNode("/root/main/patinfo" , "/root/temp");
  407. ipt_hngnm.refresh(); ipt_sex.refresh(); ipt_pid.refresh(); ipt_rrgstno1.refresh(); ipt_rrgstno2.refresh(); ipt_hopedd.refresh();
  408. }//fPatInfoSet() end
  409. /**===================================================================================
  410. *기본코드 내역 가져오기
  411. =====================================================================================*/
  412. function fGetBasicCdList(){
  413. fGetHealexamCodeList( new Array("A0002", "A0005", "A0013","A0042"),
  414. new Array("/root/init/A0002list" , "/root/init/A0005list" , "/root/init/A0013list","/root/init/A0042list") );
  415. var sUserInfosS = getUserInfos();
  416. sUserInfosS = sUserInfosS + "|";
  417. var UserInfosS_Array = sUserInfosS.split("|");
  418. var cnt_userid = UserInfosS_Array[0]; //사용자번호
  419. var cnt_usernm = UserInfosS_Array[1]; //사용자이름
  420. model.setValue("/root/init/userdata/userid" , cnt_userid);
  421. model.setValue("/root/init/userdata/usernm" , cnt_usernm);
  422. /*
  423. vHealexamflag = fGetHealExamFlag();
  424. zbcfGetCodeList( new Array( "A0107") , new Array( "/root/init/baseinfo/statlst" ) );
  425. submit("TRZBC00101",false);
  426. //검사실 코드조회
  427. // model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  428. //부모창에서 /root/temp에 데이터를 넣어준다.
  429. ipt_srcrsrvdd.value=model.getValue("/root/temp/rsrvdd");
  430. ipt_srcrsrvno.value=model.getValue("/root/temp/rsrvno");
  431. ipt_srcpid.value=model.getValue("/root/temp/pid");
  432. ipt_srchngnm.value=model.getValue("/root/temp/hngnm");
  433. ipt_srcsex.value=model.getValue("/root/temp/sex");
  434. ipt_srcrrgstno1.value=model.getValue("/root/temp/rrgstno1");
  435. ipt_srcrrgstno2.value=model.getValue("/root/temp/rrgstno2");
  436. model.setValue("/root/send/srchhealexamflag" , "C");
  437. model.setValue("/root/init/send/srchhealexamdetlflag" ,"C01");
  438. //판정의조회
  439. model.makeNode("/root/send/srchcond" );
  440. model.setValue("/root/send/srchcond", "J");
  441. submit("TRAHB01504",false);
  442. */
  443. // open("SMAHB05400", "1", "", "", "popup", "root/temp", "/root/temp" );
  444. }
  445. /**===================================================================================
  446. *결과입력대상자 가져오기
  447. *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
  448. =====================================================================================*/
  449. function fGetRsltPatList(){
  450. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd") );
  451. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd") );
  452. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno") );
  453. model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid") );
  454. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag") );
  455. model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag") );
  456. model.makeValue("/root/send_05300/reqdata/srchhngnm" , model.getValue("/root/main/patinfo/hngnm") );
  457. model.makeValue("/root/send_05300/reqdata/srchfromdd" , model.getValue("/root/main/patinfo/fromdd") );
  458. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd") );
  459. model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex") );
  460. model.makeValue("/root/send_05300/reqdata/srchinqrrptid" , model.getValue("/root/main/patinfo/inqrrptid") );
  461. submit("TRAHB05303",false); //결과요약
  462. //submit("TRAHB05304");
  463. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'MM' );
  464. submit("TRAHB05112",false); // 메모 조회
  465. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'EX' );
  466. submit("TRAHB05301",false); //운동가능여부
  467. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'NC' );
  468. submit("TRAHB05302",false); //추천검사
  469. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'GD' );
  470. submit("TRAHB05316"); //결과등급
  471. model.makeValue("/root/send/srchclscd", "G");
  472. model.makeValue("/root/send/srchetccd", "G10");
  473. submit("TRAHB00604",false); //결과요약
  474. //model.refresh();
  475. }
  476. /**===================================================================================
  477. 서술 입력형 결과 그리드 입력
  478. =====================================================================================*/
  479. function fRetrive(vPara) {
  480. model.resetInstanceNode("/root/send_05300/reqdata");
  481. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  482. model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  483. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  484. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  485. model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid"));
  486. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
  487. model.makeValue("/root/send_05300/reqdata/srchstatflag" , model.getValue("/root/main/patinfo/statflag"));
  488. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
  489. model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex"));
  490. model.makeValue("/root/send_05300/reqdata/srchinqrrptid" , model.getValue("/root/main/patinfo/inqrrptid"));
  491. model.makeValue("/root/send_05300/reqdata/srchflag" , vPara );
  492. if(vPara == "cmt"){ // 이상소견
  493. submit("TRAHB05304");
  494. }else if( vPara == "testcls"){ // 분류별 검사결과
  495. submit("TRAHB05317");
  496. // model.makeValue("/root/send_03400/reqdata/srchworkflagcd", 'TREE');
  497. // model.makeValue("/root/send_03400/reqdata/srchgrupid",'B');
  498. // model.makeValue("/root/send_03400/reqdata/alldataviewyn", 'N');
  499. // submit("TRAHB03401"); // 트리를 보여야하므로 false안함.
  500. }else if(vPara =="ct"){ //영상검사결과
  501. submit("TRAHB05312");
  502. }
  503. }
  504. /**===================================================================================
  505. 서술 입력형 결과 그리드 입력
  506. =====================================================================================*/
  507. function fRetrivedenger(vPara) {
  508. model.resetInstanceNode("/root/send_05400/reqdata");
  509. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  510. model.makeValue("/root/send_05300/reqdata/srchhealexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  511. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  512. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  513. model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid"));
  514. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
  515. model.makeValue("/root/send_05300/reqdata/srchstatflag" , model.getValue("/root/main/patinfo/statflag"));
  516. model.makeValue("/root/send_05300/reqdata/srchage" , model.getValue("/root/main/patinfo/age"));
  517. model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex"));
  518. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
  519. model.makeValue("/root/send_05300/reqdata/srchhngnm" , model.getValue("/root/main/patinfo/hngnm"));
  520. model.makeValue("/root/send_05300/reqdata/ajocyn" , "");
  521. model.makeValue("/root/send_05300/reqdata/srchflag" , 'display');
  522. submit("TRAHB05401");
  523. }
  524. // --------------------------------------------------------------------------------------------------------------------------------------
  525. //화면 그리드 조절
  526. // -----------------------------------------------------------------------------------------------------------------------------------
  527. function fGridWidthcontrol(sStatus){
  528. // 질문 내역 그리드를 늘릴때
  529. if(sStatus == "W") {
  530. swt_rslt.attribute("width") ="1194px";
  531. case_cmt.attribute("width") ="1194px";
  532. case_testcls.attribute("width") ="1194px";
  533. case_ct.attribute("width") ="1194px";
  534. case_testcls23.attribute("width") ="1194px";
  535. switch1.attribute("width") ="1194px";
  536. case1.attribute("width") ="1194px";
  537. case2.attribute("width") ="1194px";
  538. case3.attribute("width") ="1194px";
  539. // grd_ajtroulist.attribute("width") ="1194px";
  540. // grd_testcls.attribute("width") ="1100px";
  541. }
  542. if(sStatus == "N") {
  543. swt_rslt.attribute("width") ="705px";
  544. case_cmt.attribute("width") ="705px";
  545. case_testcls.attribute("width") ="705px";
  546. case_ct.attribute("width") ="705px";
  547. case_testcls23.attribute("width") ="705px";
  548. switch1.attribute("width") ="703px";
  549. case1.attribute("width") ="700px";
  550. case2.attribute("width") ="700px";
  551. case3.attribute("width") ="700px";
  552. // grd_ajtroulist.attribute("width") ="705px";
  553. // grd_testcls.attribute("width") ="705px";
  554. }
  555. model.refresh();
  556. }//fGridWidthcontrol 그리드 조절 끝
  557. function fChngData(flag){
  558. if(flag == 'drstmt'){
  559. var useflag = '1';
  560. }else{
  561. var useflag = '2';
  562. }
  563. if(model.getValue("/root/tmp/tabflag") == 'ct'){
  564. var sValue =
  565. "1" + "▦" +
  566. '' + "▦" + //분류1
  567. '' + "▦" + //분류2
  568. '' + "▦" + //분류3
  569. model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item1") + "▦" + //처방
  570. useflag //ajmm_useflag
  571. ;
  572. setParameter("SPAHB03300_PARM",sValue);
  573. modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "");
  574. if(model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm") == ""){messageBox("선택된 데이터가 없습니다","I999"); return false;}
  575. model.setValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
  576. grd_ctlist.rowstatus(grd_ctlist.row) = 2;
  577. grd_ctlist.refresh();
  578. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd1"));
  579. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd2"));
  580. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd3"));
  581. model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_seqno"));
  582. model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
  583. model.makeValue("/root/tmp/send_05300/reqdata/savedata/tretdd" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item7"));
  584. model.makeValue("/root/tmp/send_05300/reqdata/savedata/insseq" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item8"));
  585. model.makeValue("/root/tmp/send_05300/reqdata/savedata/testcd" , model.getValue("/root/main/ctdetllist/item['"+grd_ctlist.row+"']/item6"));
  586. }
  587. if(model.getValue("/root/tmp/tabflag") == 'cmt'){
  588. if(flag == 'drstmt'){
  589. //선 판정문 클릭시 콤보박스가 채워지고 그다음에 값을 수정하면 데이터를 쌓는다.
  590. model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/drstmt"));
  591. grd_ajtroulist.rowstatus(grd_ajtroulist.row) = 2;
  592. grd_ajtroulist.refresh();
  593. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd1"));
  594. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd2"));
  595. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/ajclscd3"));
  596. model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/seqno"));
  597. model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/init/ajrmlist[seqno = '" + cmb_ajmmlist.value+"']/drstmt"));
  598. /*
  599. //판정문을 바꿀때
  600. var sValue =
  601. "1" + "▦" +
  602. model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item19") + "▦" + //분류1
  603. model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item20") + "▦" + //분류2
  604. model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item21") + "▦" + //분류3
  605. '' + "▦" + //처방item7
  606. useflag //ajmm_useflag
  607. ;
  608. setParameter("SPAHB03300_PARM",sValue);
  609. modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", ""); //sysmenu:hidden
  610. model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
  611. if(model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm") == ""){messageBox("선택된 데이터가 없습니다","I999"); return false;}
  612. grd_ajtroulist.rowstatus(grd_ajtroulist.row) = 2;
  613. grd_ajtroulist.refresh();
  614. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd1"));
  615. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd2" , model.getValue( "/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd2"));
  616. model.makeValue("/root/tmp/send_05300/reqdata/savedata/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_ajclscd3"));
  617. model.makeValue("/root/tmp/send_05300/reqdata/savedata/seqno" , model.getValue( "/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_seqno"));
  618. model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm"));
  619. */
  620. }else if(flag == 'cmt'){
  621. //이상소견 상태만 바꿀때
  622. model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , cmb_cmt.label);
  623. model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , cmb_cmt.value);
  624. grd_ajtroulist.refresh();
  625. }else if(flag == 'futerm'){
  626. model.setValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item4" , cmb_futerm.label);
  627. model.makeValue("/root/tmp/send_05300/reqdata/savedata/data" , cmb_futerm.value);
  628. grd_ajtroulist.refresh();
  629. }//inner if end
  630. // 수정시 키 부분
  631. model.makeValue("/root/tmp/send_05300/reqdata/savedata/prntyn" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item1"));
  632. model.makeValue("/root/tmp/send_05300/reqdata/savedata/tretdd" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item12"));
  633. model.makeValue("/root/tmp/send_05300/reqdata/savedata/insseq" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item18"));
  634. model.makeValue("/root/tmp/send_05300/reqdata/savedata/testcd" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item7"));
  635. model.makeValue("/root/tmp/send_05300/reqdata/savedata/mixno" , model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item10"));
  636. }//outter if end
  637. model.makeValue("/root/tmp/send_05300/reqdata/savedata/flag" ,flag);
  638. model.makeValue("/root/tmp/send_05300/reqdata/savedata/type" ,'A'); //업데이트 유형
  639. model.makeValue("/root/tmp/send_05300/reqdata/savedata/instcd" , model.getValue("/root/main/patinfo/instcd"));
  640. model.makeValue("/root/tmp/send_05300/reqdata/savedata/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  641. model.makeValue("/root/tmp/send_05300/reqdata/savedata/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  642. var Cnt = parseInt(getNodesetCount("/root/updatelist/send_05300/reqdata/savedata")) + 1;
  643. model.makeNode("/root/updatelist/send_05300/reqdata/savedata["+Cnt+"]");
  644. copyNodesetType("/root/updatelist/send_05300/reqdata/savedata["+Cnt+"]", "/root/tmp/send_05300/reqdata/savedata");
  645. }//fChngData end
  646. function fSrchDiag(cond1 ,cond2 ,cond3 , cond4 , cond5){
  647. setParameter ( "SPMMO00800_cond1", cond1 ); //검색구분(1:코드, 2:명)
  648. setParameter ( "SPMMO00800_cond2", cond2); //명칭검색구분(1:코드, 2:단어, 3:문장, 4:첫단어)
  649. setParameter ( "SPMMO00800_cond3", cond3 );//한영구분(H: 한글, E:영문)
  650. setParameter ( "SPMMO00800_cond4", getCurrentDate().toDate().getAddDate(1).getDateFormat("YYYYMMDD"));//기준일자: 외래일때는 진료일자, 입원일때는 처방일자
  651. setParameter ( "SPMMO00800_cond5", cond5 );//검색내용
  652. setParameter ( "SPMMO00800_srchmode", "P" );//검색위치
  653. modal ( "SPMMO00800", "50", "50", "50", "diagsrch", "", "", "", false );
  654. var SPMMO00800_RTN = getParameter("SPMMO00800_rtn");
  655. // 값이 ▩ , ▦ 으로 행과 열이 구분됨
  656. for(var i = 1 ; i < 2 ; i++){
  657. var arrRow = SPMMO00800_RTN.split("▩");
  658. if(arrRow != ""){
  659. array_parm = arrRow[i].split("▦" )
  660. }
  661. }
  662. if(arrRow != ""){
  663. var rtn_diagcd = array_parm[9];
  664. var rtn_engdiag = array_parm[2];
  665. var rtn_hngdiag = array_parm[3];
  666. }else{ //조회 내역을 선택 하지 않았을때
  667. var rtn_diagcd = "";
  668. var rtn_engdiag ="";
  669. var rtn_hngdiag = "";
  670. }
  671. model.setValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd" , rtn_diagcd );
  672. model.setValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/drfindings" , rtn_hngdiag);
  673. grd_resultlist.refresh();
  674. }
  675. ]]>
  676. </script>
  677. </xhtml:head>
  678. <xhtml:body guideline="2,662;2,692;1,865;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  679. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  680. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:175px; height:14px; ">[자동판정] 결과보기</caption>
  681. </group>
  682. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:767px; ">
  683. <caption id="caption4" class="tit_2" style="left:715px; top:549px; width:151px; height:13px; ">다음검진 추천</caption>
  684. <caption id="caption2" class="tit_2" style="left:715px; top:154px; width:151px; height:13px; ">결과요약</caption>
  685. <button id="button31" class="icon_next_month" style="left:805px; top:152px; width:16px; height:16px; ">
  686. <caption/>
  687. <script type="javascript" ev:event="DOMActivate">
  688. <![CDATA[
  689. grd_resultlist.attribute("width") ="480px";
  690. grd_resultlist.attribute("height") ="155px";
  691. grd_resultlist.attribute("left") ="712px";
  692. swt_rslt.attribute("visibility")= "visible";
  693. caption17.attribute("visibility")= "visible";
  694. button27.attribute("visibility")= "visible";
  695. button28.attribute("visibility")= "visible";
  696. button26.attribute("visibility")= "visible";
  697. line6.attribute("visibility")= "visible";
  698. grd_grade.attribute("visibility")= "visible";
  699. caption3.attribute("visibility")= "visible";
  700. button13.attribute("visibility")= "visible";
  701. button14.attribute("visibility")= "visible";
  702. button3.attribute("visibility")= "visible";
  703. line1.attribute("visibility")= "visible";
  704. grd_health.attribute("visibility")= "visible";
  705. caption4.attribute("visibility")= "visible";
  706. button15.attribute("visibility")= "visible";
  707. button16.attribute("visibility")= "visible";
  708. button2.attribute("visibility")= "visible";
  709. line2.attribute("visibility")= "visible";
  710. grd_recommedlist.attribute("visibility")= "visible";
  711. caption7.attribute("visibility")= "visible";
  712. btn_addqest.attribute("visibility")= "visible";
  713. btn_delqest.attribute("visibility")= "visible";
  714. btn_save.attribute("visibility")= "visible";
  715. line3.attribute("visibility")= "visible";
  716. grd_amaw.attribute("visibility")= "visible";
  717. ]]>
  718. </script>
  719. </button>
  720. <button id="button30" class="icon_pre_month" visibility="visible" style="left:790px; top:152px; width:16px; height:16px; ">
  721. <caption/>
  722. <script type="javascript" ev:event="DOMActivate">
  723. <![CDATA[
  724. grd_resultlist.attribute("width") ="1194px";
  725. grd_resultlist.attribute("height") ="590px";
  726. grd_resultlist.attribute("left") ="0px";
  727. swt_rslt.attribute("visibility")= "hidden";
  728. caption17.attribute("visibility")= "hidden";
  729. button27.attribute("visibility")= "hidden";
  730. button28.attribute("visibility")= "hidden";
  731. button26.attribute("visibility")= "hidden";
  732. line6.attribute("visibility")= "hidden";
  733. grd_grade.attribute("visibility")= "hidden";
  734. caption3.attribute("visibility")= "hidden";
  735. button13.attribute("visibility")= "hidden";
  736. button14.attribute("visibility")= "hidden";
  737. button3.attribute("visibility")= "hidden";
  738. line1.attribute("visibility")= "hidden";
  739. grd_health.attribute("visibility")= "hidden";
  740. caption4.attribute("visibility")= "hidden";
  741. button15.attribute("visibility")= "hidden";
  742. button16.attribute("visibility")= "hidden";
  743. button2.attribute("visibility")= "hidden";
  744. line2.attribute("visibility")= "hidden";
  745. grd_recommedlist.attribute("visibility")= "hidden";
  746. caption7.attribute("visibility")= "hidden";
  747. btn_addqest.attribute("visibility")= "hidden";
  748. btn_delqest.attribute("visibility")= "hidden";
  749. btn_save.attribute("visibility")= "hidden";
  750. line3.attribute("visibility")= "hidden";
  751. grd_amaw.attribute("visibility")= "hidden";
  752. caption4.attribute("visibility")= "hidden";
  753. ]]>
  754. </script>
  755. </button>
  756. <datagrid id="grd_grade" nodeset="/root/main/grade/item" autoresize="true" caption="작성일^작성자^판정등급^기관코드^건진구분^건진상세구분^예약일자^예약번호^분류^입력일련번호^환자번호^수용여부" colsep="^" colwidth="100, 143, 123, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:357px; width:480px; height:50px; ">
  757. <col ref="lastupdtdt" format="yyyy-mm-dd"/>
  758. <col ref="lastupdtrid" style="text-align:center; "/>
  759. <col ref="cnstcnts" type="combo">
  760. <choices>
  761. <itemset nodeset="/root/init/A0042list/A0042">
  762. <label ref="cdnm"/>
  763. <value ref="cdid"/>
  764. </itemset>
  765. </choices>
  766. </col>
  767. <col ref="instcd" visibility="hidden"/>
  768. <col ref="healexamflag" visibility="hidden"/>
  769. <col ref="healexamdetlflag" visibility="hidden"/>
  770. <col ref="rsrvdd" visibility="hidden"/>
  771. <col ref="rsrvno" visibility="hidden"/>
  772. <col ref="cnstclsf" visibility="hidden"/>
  773. <col ref="cnstseq" visibility="hidden"/>
  774. <col ref="pid" visibility="hidden"/>
  775. <col ref="dracptyn" visibility="hidden"/>
  776. </datagrid>
  777. <button id="button26" class="btn5_letter2" style="left:1150px; top:332px; width:42px; height:19px; ">
  778. <caption>저장</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. model.makeValue("/root/send_05300/reqdata/grade", grd_grade.getUpdateData());
  782. submit("TXAHB05308",false);
  783. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'GD' );
  784. submit("TRAHB05303");
  785. grd_grade.clearStatus();
  786. ]]>
  787. </script>
  788. </button>
  789. <button id="button28" class="btn2_letter3" style="left:1096px; top:332px; width:53px; height:19px; ">
  790. <caption>행삭제</caption>
  791. <script type="javascript" ev:event="DOMActivate">
  792. <![CDATA[
  793. deleteSelectedRows(grd_grade, true);
  794. ]]>
  795. </script>
  796. </button>
  797. <button id="button27" class="btn2_letter3" style="left:1042px; top:332px; width:53px; height:19px; ">
  798. <caption>행추가</caption>
  799. <script type="javascript" ev:event="DOMActivate">
  800. <![CDATA[
  801. grd_grade.addRow();
  802. var cur_row = grd_grade.row;
  803. model.setValue("/root/main/grade/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
  804. model.setValue("/root/main/grade/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
  805. model.setValue("/root/main/grade/item["+cur_row+"]/dracptyn" , 'Y');
  806. model.setValue("/root/main/grade/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
  807. model.setValue("/root/main/grade/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  808. model.setValue("/root/main/grade/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  809. model.setValue("/root/main/grade/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  810. model.setValue("/root/main/grade/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  811. model.setValue("/root/main/grade/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  812. model.setValue("/root/main/grade/item["+cur_row+"]/cnstclsf" , 'GD');
  813. model.setValue("/root/main/grade/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
  814. model.setValue("/root/main/grade/item["+cur_row+"]/cnstcnts" , '');
  815. ]]>
  816. </script>
  817. </button>
  818. <line id="line6" class="line_1" style="x1:712px; y1:352px; x2:1192px; y2:352px; "/>
  819. <caption id="caption17" class="tit_2" style="left:715px; top:336px; width:151px; height:14px; ">결과 등급</caption>
  820. <button id="button14" class="btn2_letter3" style="left:1096px; top:415px; width:53px; height:19px; ">
  821. <caption>행삭제</caption>
  822. <script type="javascript" ev:event="DOMActivate">
  823. <![CDATA[
  824. deleteSelectedRows(grd_health, true);
  825. ]]>
  826. </script>
  827. </button>
  828. <button id="button13" class="btn2_letter3" style="left:1042px; top:415px; width:53px; height:19px; ">
  829. <caption>행추가</caption>
  830. <script type="javascript" ev:event="DOMActivate">
  831. <![CDATA[
  832. grd_health.addRow();
  833. var cur_row = grd_health.row;
  834. model.setValue("/root/main/health/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
  835. model.setValue("/root/main/health/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
  836. model.setValue("/root/main/health/item["+cur_row+"]/dracptyn" , 'Y');
  837. model.setValue("/root/main/health/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
  838. model.setValue("/root/main/health/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  839. model.setValue("/root/main/health/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  840. model.setValue("/root/main/health/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  841. model.setValue("/root/main/health/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  842. model.setValue("/root/main/health/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  843. model.setValue("/root/main/health/item["+cur_row+"]/cnstclsf" , 'EX');
  844. model.setValue("/root/main/health/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
  845. model.setValue("/root/main/health/item["+cur_row+"]/cnstcnts" , '-');
  846. ]]>
  847. </script>
  848. </button>
  849. <button id="btn_delqest" class="btn2_letter3" style="left:1096px; top:626px; width:53px; height:19px; ">
  850. <caption>행삭제</caption>
  851. <script type="javascript" ev:event="DOMActivate">
  852. <![CDATA[
  853. deleteSelectedRows(grd_amaw, true);
  854. model.refresh();
  855. ]]>
  856. </script>
  857. </button>
  858. <button id="btn_addqest" class="btn2_letter3" style="left:1042px; top:626px; width:53px; height:19px; ">
  859. <caption>행추가</caption>
  860. <script type="javascript" ev:event="DOMActivate">
  861. <![CDATA[
  862. grd_amaw.addRow();
  863. var cur_row = grd_amaw.row;
  864. model.setValue("/root/main/amaw/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
  865. model.setValue("/root/main/amaw/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
  866. // model.setValue("/root/main/amaw/item["+cur_row+"]/sel" , 'Y');
  867. model.setValue("/root/main/amaw/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
  868. model.setValue("/root/main/amaw/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  869. model.setValue("/root/main/amaw/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  870. model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  871. model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  872. model.setValue("/root/main/amaw/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  873. model.setValue("/root/main/amaw/item["+cur_row+"]/cnstclsf" , 'MM');
  874. model.setValue("/root/main/amaw/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
  875. model.setValue("/root/main/amaw/item["+cur_row+"]/cnstcnts" , '');
  876. ]]>
  877. </script>
  878. </button>
  879. <button id="button16" class="btn2_letter3" style="left:1096px; top:545px; width:53px; height:19px; ">
  880. <caption>행삭제</caption>
  881. <script type="javascript" ev:event="DOMActivate">
  882. <![CDATA[
  883. deleteSelectedRows(grd_recommedlist, true);
  884. model.refresh();
  885. ]]>
  886. </script>
  887. </button>
  888. <button id="button15" class="btn2_letter3" style="left:1042px; top:545px; width:53px; height:19px; ">
  889. <caption>행추가</caption>
  890. <script type="javascript" ev:event="DOMActivate">
  891. <![CDATA[
  892. grd_recommedlist.addRow();
  893. var cur_row = grd_recommedlist.row;
  894. model.setValue("/root/main/recommedlist/item["+cur_row+"]/lastupdtdt" ,getCurrentDate());
  895. model.setValue("/root/main/recommedlist/item["+cur_row+"]/lastupdtrid" , model.getValue("/root/init/userdata/usernm") );
  896. model.setValue("/root/main/recommedlist/item["+cur_row+"]/dracptyn" , 'Y');
  897. model.setValue("/root/main/recommedlist/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
  898. model.setValue("/root/main/recommedlist/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  899. model.setValue("/root/main/recommedlist/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  900. model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  901. model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  902. model.setValue("/root/main/recommedlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  903. model.setValue("/root/main/recommedlist/item["+cur_row+"]/cnstclsf" , 'NC');
  904. model.setValue("/root/main/recommedlist/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
  905. model.setValue("/root/main/recommedlist/item["+cur_row+"]/cnstcnts" , '');
  906. ]]>
  907. </script>
  908. </button>
  909. <output id="output1" ref="/root/main/patsumm/item/summ_data0" visibility="hidden" style="left:710px; top:40px; width:15px; height:19px; "/>
  910. <caption id="caption7" class="tit_2" style="left:715px; top:629px; width:151px; height:13px; ">메모</caption>
  911. <line id="line4" class="line_1" style="x1:712px; y1:170px; x2:1192px; y2:170px; "/>
  912. <group id="group5" style="left:0px; top:5px; width:1193px; height:30px; vertical-align:top; ">
  913. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  914. <input id="ipt_hopedd" ref="/root/main/patinfo/hopedd" class="output_fix" disabled="true" visibility="visible" inputtype="date" style="left:909px; top:6px; width:85px; height:19px; "/>
  915. <caption id="caption10" class="search_name" visibility="visible" heigh="17px" style="left:821px; top:6px; width:86px; height:17px; ">건진일자:</caption>
  916. <caption id="caption5" class="search_name" visibility="visible" style="left:350px; top:6px; width:86px; height:17px; ">등록번호 :</caption>
  917. <input id="ipt_pid" ref="/root/main/patinfo/pid" class="output_fix" disabled="true" visibility="visible" style="left:439px; top:6px; width:100px; height:19px; "/>
  918. <caption id="caption9" class="search_name" visibility="visible" style="left:5px; top:6px; width:86px; height:17px; ">성 명 :</caption>
  919. <input id="ipt_hngnm" ref="/root/main/patinfo/hngnm" class="output_fix" disabled="true" visibility="visible" style="left:75px; top:6px; width:85px; height:19px; "/>
  920. <input id="ipt_sex" ref="/root/main/patinfo/sex" class="output_fix" disabled="true" visibility="visible" style="left:270px; top:6px; width:35px; height:19px; "/>
  921. <caption id="caption11" class="search_name" visibility="visible" style="left:169px; top:6px; width:101px; height:17px; ">성별/나이 :</caption>
  922. <caption id="caption12" class="search_name" visibility="visible" style="left:545px; top:6px; width:115px; height:17px; ">주민등록번호 :</caption>
  923. <input id="ipt_rrgstno1" ref="/root/main/patinfo/rrgstno1" class="output_fix" disabled="true" visibility="visible" style="left:658px; top:6px; width:75px; height:19px; "/>
  924. <input id="ipt_rrgstno2" ref="/root/main/patinfo/rrgstno2" class="output_fix" disabled="true" visibility="visible" style="left:737px; top:6px; width:75px; height:19px; "/>
  925. <input id="ipt_age" ref="/root/main/patinfo/age" class="output_fix" disabled="true" visibility="visible" style="left:305px; top:6px; width:35px; height:19px; "/>
  926. <button id="button23" class="btn2_letter3" style="left:1130px; top:5px; width:53px; height:19px; ">
  927. <caption>재조회</caption>
  928. <script type="javascript" ev:event="onclick">
  929. <![CDATA[
  930. // ready에 있는거 그대로.
  931. fPatInfoSet();
  932. // fGetBasicCdList();
  933. fGetRsltPatList(); //화면 우측의 결과 요약,운동능력평가등을 가져온다.
  934. button5.dispatch("onclick");//이상소견 조회
  935. fPatSumm();
  936. model.refresh();
  937. ]]>
  938. </script>
  939. </button>
  940. <button id="button24" class="btn2_letter4" style="left:1000px; top:5px; width:64px; height:19px; ">
  941. <caption>이전환자</caption>
  942. <script type="javascript" ev:event="onclick">
  943. <![CDATA[
  944. // model.copyNode("/root/main/patinfo" , "/root/temp");
  945. var no = model.getValue("/root/temp/no") - 1 ;
  946. model.removenode("/root/temp");
  947. model.makeNode("/root/temp");
  948. var openerGridObj = opener.grd_judgpatlst;
  949. var openerGridObjNodeset = openerGridObj.nodeset;
  950. openerNode = opener.instance1.selectSingleNode(openerGridObjNodeset + "['" + no + "']");
  951. model.copyNode(root.temp, openerNode);
  952. button23.dispatch("onclick");
  953. // window.mdi("status")= "tile";
  954. // iviewer.window.mdiChildren.item(deselected.value).close();
  955. ]]>
  956. </script>
  957. </button>
  958. <button id="button25" class="btn2_letter4" style="left:1065px; top:5px; width:53px; height:19px; ">
  959. <caption>이후환자</caption>
  960. <script type="javascript" ev:event="onclick">
  961. <![CDATA[
  962. var no = model.getValue("/root/temp/no") - ( -1);
  963. model.removenode("/root/temp");
  964. model.makeNode("/root/temp");
  965. var openerGridObj = opener.grd_judgpatlst;
  966. var openerGridObjNodeset = openerGridObj.nodeset;
  967. openerNode = opener.instance1.selectSingleNode(openerGridObjNodeset + "['" + no + "']");
  968. model.copyNode(root.temp, openerNode);
  969. button23.dispatch("onclick");
  970. ]]>
  971. </script>
  972. </button>
  973. </group>
  974. <datagrid id="grd_amaw" nodeset="/root/main/amaw/item" autoresize="true" caption="선택^날짜^작성자^내용^기관코드^건진구분^건진상세구분^예약일자^예약번호^구분^입력일련번호^환자번호^제목" colsep="^" colwidth="100, 100, 100, 251, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:649px; width:480px; height:116px; ">
  975. <col ref="dracptyn" visibility="hidden"/>
  976. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  977. <col disabled="false" ref="lastupdtrid"/>
  978. <col ref="cnstcnts" type="input"/>
  979. <col ref="instcd" visibility="hidden"/>
  980. <col ref="healexamflag" visibility="hidden"/>
  981. <col ref="healexamdetlflag" visibility="hidden"/>
  982. <col ref="rsrvdd" visibility="hidden"/>
  983. <col ref="rsrvno" visibility="hidden"/>
  984. <col ref="cnstclsf" visibility="hidden"/>
  985. <col ref="cnstseq" visibility="hidden"/>
  986. <col ref="pid" visibility="hidden"/>
  987. <script type="javascript" ev:event="onclick">
  988. <![CDATA[
  989. ]]>
  990. </script>
  991. </datagrid>
  992. <datagrid id="grd_health" nodeset="/root/main/health/item" autoresize="true" caption="작성일^작성자^운동가능여부^기관코드^건진구분^건진상세구분^예약일자^예약번호^분류^입력일련번호^내용^환자번호" colsep="^" colwidth="100, 143, 123, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:440px; width:480px; height:101px; ">
  993. <col ref="lastupdtdt" format="yyyy-mm-dd"/>
  994. <col ref="lastupdtrid" style="text-align:center; "/>
  995. <col checkvalue="Y,N" ref="dracptyn" type="checkbox"/>
  996. <col ref="instcd" visibility="hidden"/>
  997. <col ref="healexamflag" visibility="hidden"/>
  998. <col ref="healexamdetlflag" visibility="hidden"/>
  999. <col ref="rsrvdd" visibility="hidden"/>
  1000. <col ref="rsrvno" visibility="hidden"/>
  1001. <col ref="cnstclsf" visibility="hidden"/>
  1002. <col ref="cnstseq" visibility="hidden"/>
  1003. <col ref="cnstcnts" visibility="hidden"/>
  1004. <col ref="pid" visibility="hidden"/>
  1005. </datagrid>
  1006. <caption id="caption3" class="tit_2" style="left:715px; top:419px; width:151px; height:13px; ">운동 능력평가</caption>
  1007. <datagrid id="grd_recommedlist" nodeset="/root/main/recommedlist/item" autoresize="true" caption="추천다음검사^날짜^작성자^수용여부^기관코드^건진구분^건진상세구분^예약번호^예약일련번호^구분^입력일련번호^환자번호^제목" colsep="^" colwidth="398, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:712px; top:570px; width:480px; height:50px; ">
  1008. <col ref="cnstcnts" type="input"/>
  1009. <col ref="lastupdtdt" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  1010. <col disabled="false" ref="lastupdtrid" type="combo" visibility="hidden">
  1011. <choices>
  1012. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1013. <label ref="drnm"/>
  1014. <value ref="drid"/>
  1015. </itemset>
  1016. </choices>
  1017. </col>
  1018. <col ref="dracptyn" visibility="hidden"/>
  1019. <col ref="instcd" visibility="hidden"/>
  1020. <col ref="healexamflag" visibility="hidden"/>
  1021. <col ref="healexamdetlflag" visibility="hidden"/>
  1022. <col ref="rsrvdd" visibility="hidden"/>
  1023. <col ref="rsrvno" visibility="hidden"/>
  1024. <col ref="cnstclsf" visibility="hidden"/>
  1025. <col ref="cnstseq" visibility="hidden"/>
  1026. <col ref="pid" visibility="hidden"/>
  1027. </datagrid>
  1028. <line id="line1" class="line_1" style="x1:712px; y1:435px; x2:1192px; y2:435px; "/>
  1029. <line id="line2" class="line_1" style="x1:712px; y1:565px; x2:1192px; y2:565px; "/>
  1030. <line id="line3" class="line_1" style="x1:712px; y1:646px; x2:1192px; y2:646px; "/>
  1031. <button id="btn_save" class="btn5_letter2" style="left:1150px; top:626px; width:42px; height:19px; ">
  1032. <caption>저장</caption>
  1033. <script type="javascript" ev:event="DOMActivate">
  1034. <![CDATA[
  1035. model.makeValue("/root/send_05300/reqdata/amaw", grd_amaw.getUpdateData());
  1036. submit("TXAHB05301",false);
  1037. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'MM' );
  1038. submit("TRAHB05112");
  1039. grd_amaw.clearStatus();
  1040. ]]>
  1041. </script>
  1042. </button>
  1043. <button id="button2" class="btn5_letter2" style="left:1150px; top:545px; width:42px; height:19px; ">
  1044. <caption>저장</caption>
  1045. <script type="javascript" ev:event="DOMActivate">
  1046. <![CDATA[
  1047. model.makeValue("/root/send_05300/reqdata/recommedlist", grd_recommedlist.getUpdateData());
  1048. submit("TXAHB05303",false);
  1049. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'NC' );
  1050. submit("TRAHB05302");
  1051. grd_recommedlist.clearStatus();
  1052. ]]>
  1053. </script>
  1054. </button>
  1055. <button id="button3" class="btn5_letter2" style="left:1150px; top:415px; width:42px; height:19px; ">
  1056. <caption>저장</caption>
  1057. <script type="javascript" ev:event="DOMActivate">
  1058. <![CDATA[
  1059. model.makeValue("/root/send_05300/reqdata/health", grd_health.getUpdateData());
  1060. submit("TXAHB05302",false);
  1061. model.makeValue("/root/send_05300/reqdata/srchcnstclsf" ,'EX' );
  1062. submit("TRAHB05301");
  1063. grd_health.clearStatus();
  1064. ]]>
  1065. </script>
  1066. </button>
  1067. <button id="btn_testcls" class="btn_sw" group="tab" style="left:60px; top:126px; width:100px; height:22px; ">
  1068. <caption>분류별검사결과</caption>
  1069. <toggle case="case_testcls" ev:event="onclick"/>
  1070. <script type="javascript" ev:event="onclick">
  1071. <![CDATA[
  1072. model.setValue("/root/tmp/tabflag",'testcls');
  1073. fRetrive("testcls");
  1074. ]]>
  1075. </script>
  1076. </button>
  1077. <button id="button5" class="btn_sw" group="tab" selected="true" style="left:0px; top:126px; width:60px; height:22px; ">
  1078. <caption>이상소견</caption>
  1079. <toggle case="case_cmt" ev:event="onclick"/>
  1080. <script type="javascript" ev:event="onclick">
  1081. <![CDATA[
  1082. model.setValue("/root/tmp/tabflag",'cmt');
  1083. fRetrive("cmt");
  1084. if( getNodesetCount("/root/main/ajtroulist/item") > 1){
  1085. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item1")) = model.getValue("/root/main/ajtroulist/item[1]/item1");
  1086. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item2")) = model.getValue("/root/main/ajtroulist/item[1]/item2");
  1087. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item3")) = model.getValue("/root/main/ajtroulist/item[1]/item3");
  1088. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item4")) = model.getValue("/root/main/ajtroulist/item[1]/item4");
  1089. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item5")) = model.getValue("/root/main/ajtroulist/item[1]/item5");
  1090. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item6")) = model.getValue("/root/main/ajtroulist/item[1]/item6");
  1091. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item7")) = model.getValue("/root/main/ajtroulist/item[1]/item7");
  1092. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item8")) = model.getValue("/root/main/ajtroulist/item[1]/item8");
  1093. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item9")) = model.getValue("/root/main/ajtroulist/item[1]/item9");
  1094. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item10")) = model.getValue("/root/main/ajtroulist/item[1]/item10");
  1095. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item11")) = model.getValue("/root/main/ajtroulist/item[1]/item11");
  1096. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item12")) = model.getValue("/root/main/ajtroulist/item[1]/item12");
  1097. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item13")) = model.getValue("/root/main/ajtroulist/item[1]/item13");
  1098. grd_ajtroulist.valueMatrix(0,grd_ajtroulist.colRef("item14")) = model.getValue("/root/main/ajtroulist/item[1]/item14");
  1099. // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
  1100. grd_ajtroulist.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
  1101. grd_ajtroulist.mergecol(1) = false;
  1102. // grd_ajtroulist.mergecol(3) = false;
  1103. grd_ajtroulist.mergecol(4) = false;
  1104. grd_ajtroulist.mergecol(5) = false;
  1105. grd_ajtroulist.mergecol(6) = false;
  1106. grd_ajtroulist.mergecol(7) = false;
  1107. grd_ajtroulist.mergecol(8) = false;
  1108. grd_ajtroulist.mergecol(9) = false;
  1109. // grd_ajtroulist.mergecol(10) = false;
  1110. grd_ajtroulist.mergecol(11) = false;
  1111. grd_ajtroulist.mergecol(12) = false;
  1112. grd_ajtroulist.mergecol(13) = false;
  1113. grd_ajtroulist.mergecol(14) = false;
  1114. grd_ajtroulist.mergecol(15) = false;
  1115. grd_ajtroulist.mergecol(16) = false;
  1116. grd_ajtroulist.mergecol(17) = false;
  1117. grd_ajtroulist.mergecells = "bycol";
  1118. setRowStyle("grd_ajtroulist" , "3" , "Y" , "item1" ,"equal");
  1119. setRowStyle("grd_ajtroulist" , "9" , "판정문" , "item3" ,"equal");
  1120. }
  1121. model.refresh();
  1122. ]]>
  1123. </script>
  1124. </button>
  1125. <button id="button4" class="btn_sw" group="tab" style="left:160px; top:126px; width:120px; height:22px; ">
  1126. <caption>영상/기능/기타결과</caption>
  1127. <toggle case="case_ct" ev:event="onclick"/>
  1128. <script type="javascript" ev:event="onclick">
  1129. <![CDATA[
  1130. model.setValue("/root/tmp/tabflag",'ct');
  1131. fRetrive("ct");
  1132. ]]>
  1133. </script>
  1134. </button>
  1135. <button id="button1" class="btn_sw" group="tab" style="left:280px; top:126px; width:100px; height:22px; ">
  1136. <caption>건강위험도평가</caption>
  1137. <toggle case="case_testcls23" ev:event="onclick"/>
  1138. <script type="javascript" ev:event="onclick">
  1139. <![CDATA[
  1140. // fRetrive("Z");
  1141. model.setValue("/root/tmp/tabflag",'testcls23');
  1142. fRetrivedenger("A");
  1143. button7.dispatch("onclick"); // 심혈관 질환 위험도 클릭
  1144. model.refresh();
  1145. ]]>
  1146. </script>
  1147. </button>
  1148. <button id="button9" class="btn2_letter4" style="left:964px; top:40px; width:64px; height:19px; ">
  1149. <caption>문진보기</caption>
  1150. <script type="javascript" ev:event="DOMActivate">
  1151. <![CDATA[
  1152. var sValue =
  1153. model.getValue("/root/main/patinfo/instcd") + "▦" +
  1154. model.getValue("/root/main/patinfo/healexamflag") + "▦" +
  1155. model.getValue("/root/main/patinfo/healexamdetlflag") + "▦" +
  1156. model.getValue("/root/main/patinfo/hopedd") + "▦" +
  1157. model.getValue("/root/main/patinfo/rsrvdd") + "▦" +
  1158. model.getValue("/root/main/patinfo/rsrvno") + "▦" +
  1159. model.getValue("/root/main/patinfo/pid") + "▦" +
  1160. model.getValue("/root/main/patinfo/inqrrptid") + "▦" +
  1161. 'Y' //저장버튼 비활성화
  1162. ;
  1163. setParameter("SMAHB04900_PARM",sValue);
  1164. modal("SMAHB04900", "1","50", "50", "SMAHB04900", "", "", ""); //sysmenu:hidden
  1165. ]]>
  1166. </script>
  1167. </button>
  1168. <button id="button10" class="btn2_letter3" style="left:1042px; top:150px; width:53px; height:19px; ">
  1169. <caption>행추가</caption>
  1170. <script type="javascript" ev:event="DOMActivate">
  1171. <![CDATA[
  1172. grd_resultlist.addRow();
  1173. var cur_row = grd_resultlist.row;
  1174. model.setValue("/root/main/resultlist/item["+cur_row+"]/prntyn" , 'Y');
  1175. model.setValue("/root/main/resultlist/item["+cur_row+"]/mixno" , '-');
  1176. model.setValue("/root/main/resultlist/item["+cur_row+"]/cmt" , 'R');
  1177. model.setValue("/root/main/resultlist/item["+cur_row+"]/updtnm" , model.getValue("/root/init/userdata/usernm") );
  1178. model.setValue("/root/main/resultlist/item["+cur_row+"]/drfindings" , '' );
  1179. model.setValue("/root/main/resultlist/item["+cur_row+"]/updtyn" , 'Y' );
  1180. model.setValue("/root/main/resultlist/item["+cur_row+"]/diagcd" , '-' );
  1181. model.setValue("/root/main/resultlist/item["+cur_row+"]/rsrvdd" , model.getValue("/root/main/patinfo/rsrvdd"));
  1182. model.setValue("/root/main/resultlist/item["+cur_row+"]/rsrvno" , model.getValue("/root/main/patinfo/rsrvno"));
  1183. model.setValue("/root/main/resultlist/item["+cur_row+"]/instcd" , model.getValue("/root/main/patinfo/instcd"));
  1184. model.setValue("/root/main/resultlist/item["+cur_row+"]/healexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  1185. model.setValue("/root/main/resultlist/item["+cur_row+"]/healexamdetlflag" , model.getValue("/root/main/patinfo/healexamdetlflag"));
  1186. model.setValue("/root/main/resultlist/item["+cur_row+"]/insseq" , '');
  1187. model.setValue("/root/main/resultlist/item["+cur_row+"]/pid" , model.getValue("/root/main/patinfo/pid"));
  1188. model.setValue("/root/main/resultlist/item["+cur_row+"]/updtid" , model.getValue("/root/init/userdata/userid") );
  1189. model.setValue("/root/main/resultlist/item["+cur_row+"]/drstmt" , '' );
  1190. model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd1" , '-' );
  1191. model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd2" , '-' );
  1192. model.setValue("/root/main/resultlist/item["+cur_row+"]/ajclscd3" , '-') ;
  1193. model.setValue("/root/main/resultlist/item["+cur_row+"]/seqno" , 0 );
  1194. model.setValue("/root/main/resultlist/item["+cur_row+"]/futerm" , 'CM' );
  1195. model.setValue("/root/main/resultlist/item["+cur_row+"]/drreqdeptcd" , '0' );
  1196. ]]>
  1197. </script>
  1198. </button>
  1199. <button id="button11" class="btn2_letter3" style="left:1096px; top:150px; width:53px; height:19px; ">
  1200. <caption>행삭제</caption>
  1201. <script type="javascript" ev:event="DOMActivate">
  1202. <![CDATA[
  1203. deleteSelectedRows(grd_resultlist, true);
  1204. model.refresh();
  1205. ]]>
  1206. </script>
  1207. </button>
  1208. <button id="button12" class="btn5_letter2" style="left:1150px; top:150px; width:42px; height:19px; ">
  1209. <caption>저장</caption>
  1210. <script type="javascript" ev:event="DOMActivate">
  1211. <![CDATA[
  1212. // grd_health.valueMatrix(grd_health.row, grd_health.colRef("cnstcnts")) = "12";
  1213. model.makeValue("/root/send_05300/reqdata/resultlist", grd_resultlist.getUpdateData());
  1214. submit("TXAHB05305",false);
  1215. submit("TRAHB05303");
  1216. // fGetRsltPatList();
  1217. ]]>
  1218. </script>
  1219. </button>
  1220. <output id="output2" ref="/root/main/patsumm/item/summ_data1" visibility="hidden" style="left:725px; top:40px; width:15px; height:19px; "/>
  1221. <output id="output3" ref="/root/main/patsumm/item/summ_data2" visibility="hidden" style="left:740px; top:40px; width:15px; height:19px; "/>
  1222. <output id="output4" ref="/root/main/patsumm/item/summ_data3" visibility="hidden" style="left:755px; top:40px; width:15px; height:19px; "/>
  1223. <output id="output5" ref="/root/main/patsumm/item/summ_data4" visibility="hidden" style="left:770px; top:40px; width:15px; height:19px; "/>
  1224. <line id="line7" class="line_3" style="x1:0px; y1:125px; x2:705px; y2:125px; color:#ccffff; "/>
  1225. <line id="line12" class="line_3" style="x1:0px; y1:35px; x2:705px; y2:35px; color:#ccffff; background-color:#99ccff; "/>
  1226. <line id="line13" class="line_3" style="x1:705px; y1:35px; x2:705px; y2:125px; color:#ccffff; "/>
  1227. <line id="line14" class="line_3" style="x1:0px; y1:35px; x2:0px; y2:125px; color:#ccffff; "/>
  1228. <button id="button19" class="icon_pre_month" style="left:672px; top:130px; width:16px; height:16px; ">
  1229. <caption/>
  1230. <script type="javascript" ev:event="DOMActivate">
  1231. <![CDATA[
  1232. fGridWidthcontrol("N");
  1233. ]]>
  1234. </script>
  1235. </button>
  1236. <button id="btn_chg_drstmt" class="btn2_letter3" style="left:382px; top:127px; width:53px; height:19px; ">
  1237. <caption>판정문</caption>
  1238. <script type="javascript" ev:event="onclick">
  1239. <![CDATA[
  1240. if(model.getValue("/root/tmp/tabflag") == 'cmt'){
  1241. var mixno = model.getValue("/root/main/ajtroulist/item[" + grd_ajtroulist.row + "]/item10");
  1242. model.makeValue("/root/send_05300/reqdata/srchmixno" , mixno);
  1243. model.makeValue("/root/send_05300/reqdata/instcd" , model.getValue("/root/main/patinfo/instcd"));
  1244. submit("TRAHB05315" , false);
  1245. cmb_ajmmlist.refresh();
  1246. }else if(model.getValue("/root/tmp/tabflag") == 'ct'){
  1247. fChngData('drstmt');
  1248. }
  1249. ]]>
  1250. </script>
  1251. </button>
  1252. <button id="btn_chg_drrslt" class="btn2_letter3" visibility="hidden" style="left:710px; top:105px; width:53px; height:19px; ">
  1253. <caption>결과문</caption>
  1254. <script type="javascript" ev:event="onclick">
  1255. <![CDATA[
  1256. fChngData('drrslt');
  1257. ]]>
  1258. </script>
  1259. </button>
  1260. <button id="button17" class="btn5_letter2" style="left:629px; top:127px; width:42px; height:19px; ">
  1261. <caption>저장</caption>
  1262. <script type="javascript" ev:event="DOMActivate">
  1263. <![CDATA[
  1264. submit("TXAHB05306",false);
  1265. model.removeNodeset("/root/updatelist/send_05300/reqdata/savedata");
  1266. fGetRsltPatList();
  1267. model.refresh();
  1268. ]]>
  1269. </script>
  1270. </button>
  1271. <select1 id="cmb_cmt" ref="/root/tmp/cmt" appearance="minimal" style="left:503px; top:127px; width:60px; height:19px; ">
  1272. <choices>
  1273. <item>
  1274. <label>확진</label>
  1275. <value>C</value>
  1276. </item>
  1277. <item>
  1278. <label>R/O</label>
  1279. <value>R</value>
  1280. </item>
  1281. <item>
  1282. <label>유소견</label>
  1283. <value>U</value>
  1284. </item>
  1285. <item>
  1286. <label>검사오류</label>
  1287. <value>F</value>
  1288. </item>
  1289. <item>
  1290. <label>정상</label>
  1291. <value>N</value>
  1292. </item>
  1293. </choices>
  1294. <script type="javascript" ev:event="xforms-value-changed">
  1295. <![CDATA[
  1296. fChngData('cmt');
  1297. ]]>
  1298. </script>
  1299. </select1>
  1300. <select1 id="cmb_futerm" ref="/root/tmp/futerm" appearance="minimal" style="left:564px; top:127px; width:66px; height:19px; ">
  1301. <choices>
  1302. <itemset nodeset="/root/init/A0002list/A0002">
  1303. <label ref="cdnm"/>
  1304. <value ref="cdid"/>
  1305. </itemset>
  1306. </choices>
  1307. <script type="javascript" ev:event="xforms-value-changed">
  1308. <![CDATA[
  1309. fChngData('futerm');
  1310. ]]>
  1311. </script>
  1312. </select1>
  1313. <button id="button20" class="btn2_letter6" style="left:1105px; top:40px; width:86px; height:19px; ">
  1314. <caption>의사종합소견</caption>
  1315. <script type="javascript" ev:event="onclick">
  1316. <![CDATA[
  1317. open("SMAHB05400", "1", "", "", "popup", "root/temp", "/root/temp" );
  1318. ]]>
  1319. </script>
  1320. </button>
  1321. <select1 id="cmb_ajmmlist" ref="/root/tmp/ajmmlist" appearance="minimal" style="left:437px; top:127px; width:65px; height:19px; ">
  1322. <choices>
  1323. <itemset nodeset="/root/init/ajrmlist">
  1324. <label ref="drstmt"/>
  1325. <value ref="seqno"/>
  1326. </itemset>
  1327. </choices>
  1328. <script type="javascript" ev:event="xforms-value-changed">
  1329. <![CDATA[
  1330. fChngData('drstmt')
  1331. ]]>
  1332. </script>
  1333. </select1>
  1334. <button id="button22" class="btn2_letter5" style="left:1029px; top:40px; width:75px; height:19px; ">
  1335. <caption>서술형결과</caption>
  1336. <script type="javascript" ev:event="onclick">
  1337. <![CDATA[
  1338. open("SPAHB03900", "2", "", "", "popup", "/root/main/patinfo", "/root/temp" ) ;
  1339. ]]>
  1340. </script>
  1341. </button>
  1342. <textarea id="textarea1" ref="/root/main/patsumm/item/summ_totdata" style="left:0px; top:35px; width:705px; height:90px; "/>
  1343. <button id="button29" class="btn2_letter9" style="left:1072px; top:60px; width:119px; height:19px; ">
  1344. <caption>의사종합소견(과거)</caption>
  1345. <script type="javascript" ev:event="onclick">
  1346. <![CDATA[
  1347. open("SMAHB05500", "1", "", "", "popup", "root/temp", "/root/temp" );
  1348. ]]>
  1349. </script>
  1350. </button>
  1351. <button id="button18" class="icon_next_month" style="left:688px; top:130px; width:16px; height:16px; ">
  1352. <caption/>
  1353. <script type="javascript" ev:event="DOMActivate">
  1354. <![CDATA[
  1355. fGridWidthcontrol("W");
  1356. ]]>
  1357. </script>
  1358. </button>
  1359. <!-- 20100726 JHP 행삭제시 mixseqno필요하여 조회 및 저장로직에 mixseqno추가함 -->
  1360. <datagrid id="grd_resultlist" nodeset="/root/main/resultlist/item" class="table1" autoresize="true" caption="수용여부^조합^조합일련^구분^작성자^진단명^수정여부^진단코드^판정문구^권고기간^진료과^예약일자^예약번호^기관코드^건진구분^건진상세구분^입력순서^pid^수정자 id^판정문구번호^판정문구분류1^판정문구분류2^판정문구분류3^처리일자" colsep="^" colwidth="59, 45, 100, 87, 104, 183, 100, 100, 367, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:712px; top:175px; width:480px; height:155px; ">
  1361. <col checkvalue="Y,N" ref="prntyn" type="checkbox"/>
  1362. <col ref="mixno"/>
  1363. <col ref="mixseqno" visibility="hidden"/>
  1364. <col disabled="false" ref="cmt" type="combo" visibility="visible">
  1365. <choices>
  1366. <itemset nodeset="/root/init/A0005list/A0005">
  1367. <label ref="cdnm"/>
  1368. <value ref="cdid"/>
  1369. </itemset>
  1370. </choices>
  1371. </col>
  1372. <col ref="updtnm"/>
  1373. <col ref="drfindings" type="inputbutton"/>
  1374. <col ref="updtyn" type="combo">
  1375. <choices>
  1376. <item>
  1377. <label>수정함</label>
  1378. <value>Y</value>
  1379. </item>
  1380. <item>
  1381. <label>수정안함</label>
  1382. <value>N</value>
  1383. </item>
  1384. </choices>
  1385. </col>
  1386. <col ref="diagcd" type="inputbutton"/>
  1387. <col ref="drstmt" type="inputbutton"/>
  1388. <col ref="futerm" type="combo">
  1389. <choices>
  1390. <itemset nodeset="/root/init/A0002list/A0002">
  1391. <label ref="cdnm"/>
  1392. <value ref="cdid"/>
  1393. </itemset>
  1394. </choices>
  1395. </col>
  1396. <col ref="drreqdeptcd" type="combo">
  1397. <choices>
  1398. <itemset nodeset="/root/init/A0013list/A0013">
  1399. <label ref="cdnm"/>
  1400. <value ref="cdid"/>
  1401. </itemset>
  1402. </choices>
  1403. </col>
  1404. <col ref="rsrvdd" visibility="hidden"/>
  1405. <col ref="rsrvno" visibility="hidden"/>
  1406. <col ref="instcd" visibility="hidden"/>
  1407. <col ref="healexamflag" visibility="hidden"/>
  1408. <col ref="healexamdetlflag" visibility="hidden"/>
  1409. <col ref="insseq" visibility="hidden"/>
  1410. <col ref="pid" visibility="hidden"/>
  1411. <col ref="updtid" visibility="hidden"/>
  1412. <col ref="seqno" visibility="hidden"/>
  1413. <col ref="ajclscd1" visibility="hidden"/>
  1414. <col ref="ajclscd2" visibility="hidden"/>
  1415. <col ref="ajclscd3" visibility="hidden"/>
  1416. <col ref="tretdd" visibility="hidden"/>
  1417. <script type="javascript" ev:event="onkeypress">
  1418. <![CDATA[
  1419. if (grd_resultlist.colRef("drfindings") == grd_resultlist.col ){
  1420. if(event.keyCode == '13'){
  1421. fSrchDiag('2','2','H','',model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/drfindings"));
  1422. }
  1423. }
  1424. if (grd_resultlist.colRef("diagcd") == grd_resultlist.col ){
  1425. if(event.keyCode == '13'){ alert(model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd"));
  1426. fSrchDiag('1','1','E','',model.getValue("/root/main/resultlist/item['"+grd_resultlist.row+"']/diagcd"));
  1427. }
  1428. }
  1429. ]]>
  1430. </script>
  1431. <script type="javascript" ev:event="onbuttonclick">
  1432. <![CDATA[
  1433. if (grd_resultlist.colRef("drstmt") == grd_resultlist.col ){ //메인값
  1434. model.resetInstanceNode("/root/tmp_03300/ajmmlist");
  1435. var sValue =
  1436. "1" + "▦" +
  1437. '' + "▦" + //분류1
  1438. '' + "▦" + //분류2
  1439. '' + "▦" + //분류3
  1440. '' + "▦" + //처방
  1441. "1" //ajmm_useflag 1.판정예문
  1442. ;
  1443. setParameter("SPAHB03300_PARM",sValue);
  1444. modal("SPAHB03300", "1","50", "50", "SPAHB03300", "", "", "sysmenu:hidden"); //sysmenu:hidden
  1445. if(model.getValue("/root/tmp_03300/ajmmlist/ajmm_seqno") != ""){
  1446. var adddesc = model.getValue("/root/main/resultlist/item[" + grd_resultlist.row + "]/drstmt"); //추가내용
  1447. model.makeValue("/root/main/resultlist/item["+ grd_resultlist.row+"]/drstmt" , adddesc + "\n" + model.getValue("/root/tmp_03300/ajmmlist[ajmm_langflag = 'KOR']/ajmm_detlrecm")); //변환내용
  1448. model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/ajclscd1" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd1"));
  1449. model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/ajclscd2" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd2"));
  1450. // model.setValue("/root/main/resultlist/item["grd_resultlist.row+"]/ajclscd3" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_ajclscd3")); 판정예문에서 3은 없음.
  1451. model.makeValue("/root/main/resultlist/item[" + grd_resultlist.row+"]/seqno" , model.getValue("/root/tmp_03300/ajmmlist/ajmm_seqno"));
  1452. }
  1453. }
  1454. grd_resultlist.refresh();
  1455. ]]>
  1456. </script>
  1457. </datagrid>
  1458. <switch id="swt_rslt" visibility="visible" style="left:0px; top:147px; width:710px; height:618px; ">
  1459. <case id="case_cmt" style="left:0px; top:0px; width:709px; height:675px; ">
  1460. <datagrid id="grd_ajtroulist" nodeset="/root/main/ajtroulist/item" overflow="visible" scroll="auto" autoresize="true" backcolorfrozen="#339966" caption="^^^^^^" colsep="^" colwidth="51, 47, 140, 100, 270, 270, 270, 270, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozenrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:0px; top:1px; width:1190px; height:614px; ">
  1461. <col checkvalue="Y,N" ref="item1" type="checkbox"/>
  1462. <col ref="item10"/>
  1463. <col ref="item2"/>
  1464. <col ref="item3"/>
  1465. <col ref="item4"/>
  1466. <col ref="item5"/>
  1467. <col ref="item6"/>
  1468. <col ref="item7" visibility="hidden"/>
  1469. <col ref="item8" visibility="hidden"/>
  1470. <col ref="item9" visibility="hidden"/>
  1471. <col ref="item11" visibility="hidden"/>
  1472. <col ref="item12" visibility="hidden"/>
  1473. <col ref="item13" visibility="hidden"/>
  1474. <col ref="item14" visibility="hidden"/>
  1475. <script type="javascript" ev:event="onclick">
  1476. <![CDATA[
  1477. if (grd_ajtroulist.colRef("item1") == grd_ajtroulist.col ){
  1478. var mixno = model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item10");
  1479. var item1 = model.getValue("/root/main/ajtroulist/item['"+grd_ajtroulist.row+"']/item1");
  1480. for( var fRow = 1 ; fRow < grd_ajtroulist.rows; fRow++){
  1481. cnt_mixno = grd_ajtroulist.valueMatrix(fRow,grd_ajtroulist.colRef("item10"));
  1482. if ( mixno == cnt_mixno) {
  1483. grd_ajtroulist.valueMatrix(fRow,grd_ajtroulist.colRef("item1")) = item1 ;
  1484. }
  1485. }// for end
  1486. fChngData('prtyn');
  1487. }
  1488. ]]>
  1489. </script>
  1490. </datagrid>
  1491. </case>
  1492. <case id="case_testcls">
  1493. <datagrid id="grd_testcls" nodeset="/root/main/testcls/item" overflow="visible" scroll="auto" autoresize="true" caption="^^^^^^" colsep="^" colwidth="105, 91, 31, 83, 82, 83, 36" rowheader="update" rowsep="|" style="left:285px; top:0px; width:905px; height:615px; ">
  1494. <col ref="item1"/>
  1495. <col ref="item2"/>
  1496. <col ref="item10" style="text-align:center; "/>
  1497. <col ref="item3"/>
  1498. <col ref="item4"/>
  1499. <col ref="item5"/>
  1500. <col ref="item6" visibility="hidden"/>
  1501. </datagrid>
  1502. <treeview id="trv_testlist" ref="/root/main/testlist/item" overflow="visible" expanddepth="2" itemsettype="depth" style="left:0px; top:25px; width:285px; height:590px; ">
  1503. <itemset nodeset="/root/main/testlist/item">
  1504. <label ref="ajclsnm"/>
  1505. <value ref="ajclscd"/>
  1506. <depth ref="depth"/>
  1507. </itemset>
  1508. <script type="javascript" ev:event="onclick">
  1509. <![CDATA[
  1510. //영상검사는 null 이다.
  1511. var iRow = (trv_testlist.selectedIndex + 1); //인스턴스는 1부터 시작이므로 1을 더한다.
  1512. var ajclscd1 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd1")
  1513. var ajclscd2 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd2")
  1514. var ajclscd3 = model.getValue("/root/main/testlist/item[" + iRow + "]/ajclscd3")
  1515. model.makeNode("/root/send_05300/reqdata");
  1516. model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
  1517. model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
  1518. model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
  1519. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag")); //건진구분
  1520. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd")); //건진구분
  1521. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno")); //건진구분
  1522. model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid")); //건진구분
  1523. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd")); //건진구분
  1524. model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex")); //건진구분
  1525. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd")); //건진구분
  1526. model.makeValue("/root/send_05300/reqdata/srchflag" , 'testcls' );
  1527. submit("TRAHB05305");
  1528. if( getNodesetCount("/root/main/testcls/item") > 1){
  1529. grd_testcls.valueMatrix(0,grd_testcls.colRef("item1")) = model.getValue("/root/main/testcls/item[1]/item1");
  1530. grd_testcls.valueMatrix(0,grd_testcls.colRef("item2")) = model.getValue("/root/main/testcls/item[1]/item2");
  1531. grd_testcls.valueMatrix(0,grd_testcls.colRef("item3")) = model.getValue("/root/main/testcls/item[1]/item3");
  1532. grd_testcls.valueMatrix(0,grd_testcls.colRef("item4")) = model.getValue("/root/main/testcls/item[1]/item4");
  1533. grd_testcls.valueMatrix(0,grd_testcls.colRef("item5")) = model.getValue("/root/main/testcls/item[1]/item5");
  1534. grd_testcls.valueMatrix(0,grd_testcls.colRef("item6")) = model.getValue("/root/main/testcls/item[1]/item6");
  1535. // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
  1536. grd_testcls.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
  1537. var cnt = grd_testcls.rows;
  1538. for( var i = 1 ; i <= cnt ; i++){
  1539. grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "white";
  1540. // 기준치에 따른 색깔변경
  1541. if("H" == grd_testcls.valueMatrix( i , grd_testcls.colRef("item10") ) ) {
  1542. grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "#ff7a85";
  1543. }
  1544. if("L" == grd_testcls.valueMatrix( i , grd_testcls.colRef("item10") ) ) {
  1545. grd_testcls.cellStyle("background-color" , i , grd_testcls.colRef("item10") , i , grd_testcls.colRef("item10")) = "#99ccff";
  1546. }
  1547. }
  1548. }
  1549. grd_testcls.refresh();
  1550. ]]>
  1551. </script>
  1552. </treeview>
  1553. <caption id="caption19" class="tit_2" style="left:0px; top:5px; width:235px; height:14px; ">검사결과트리</caption>
  1554. <button id="btn_click" class="btn2_letter4" visibility="hidden" style="left:170px; top:0px; width:64px; height:19px; ">
  1555. <caption>화면클릭</caption>
  1556. <script type="javascript" ev:event="DOMActivate">
  1557. <![CDATA[
  1558. //분류코드값 셋팅
  1559. var lvl = model.getValue("/root/popupdata/lvl");
  1560. var ajclscd1 = model.getValue("/root/popupdata/ajclscd1");
  1561. var ajclscd2 = model.getValue("/root/popupdata/ajclscd2");
  1562. var ajclscd3 = model.getValue("/root/popupdata/ajclscd3");
  1563. model.makeNode("/root/send_05300/reqdata");
  1564. model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
  1565. model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
  1566. model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
  1567. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag")); //건진구분
  1568. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvdd")); //건진구분
  1569. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/patinfo/rsrvno")); //건진구분
  1570. model.makeValue("/root/send_05300/reqdata/srchpid" , model.getValue("/root/main/patinfo/pid")); //건진구분
  1571. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd")); //건진구분
  1572. model.makeValue("/root/send_05300/reqdata/srchsex" , model.getValue("/root/main/patinfo/sex")); //건진구분
  1573. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd")); //건진구분
  1574. model.makeValue("/root/send_05300/reqdata/srchflag" , 'testcls' );
  1575. if(lvl > 2){
  1576. submit("TRAHB05305");
  1577. if( getNodesetCount("/root/main/testcls/item") > 1){
  1578. grd_testcls.valueMatrix(0,grd_testcls.colRef("item1")) = model.getValue("/root/main/testcls/item[1]/item1");
  1579. grd_testcls.valueMatrix(0,grd_testcls.colRef("item2")) = model.getValue("/root/main/testcls/item[1]/item2");
  1580. grd_testcls.valueMatrix(0,grd_testcls.colRef("item3")) = model.getValue("/root/main/testcls/item[1]/item3");
  1581. grd_testcls.valueMatrix(0,grd_testcls.colRef("item4")) = model.getValue("/root/main/testcls/item[1]/item4");
  1582. grd_testcls.valueMatrix(0,grd_testcls.colRef("item5")) = model.getValue("/root/main/testcls/item[1]/item5");
  1583. grd_testcls.valueMatrix(0,grd_testcls.colRef("item6")) = model.getValue("/root/main/testcls/item[1]/item6");
  1584. // model.removenode("/root/main/ajtroulist/item[0]"); //삭제
  1585. grd_testcls.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
  1586. }
  1587. }
  1588. grd_testcls.refresh();
  1589. ]]>
  1590. </script>
  1591. </button>
  1592. <line id="line9" class="line_1" style="x1:0px; y1:20px; x2:285px; y2:20px; "/>
  1593. </case>
  1594. <case id="case_ct" selected="true">
  1595. <datagrid id="grd_ctlist" nodeset="/root/main/ctdetllist/item" scroll="auto" autoresize="true" backcolorfrozen="#339966" caption="^^^^^" colsep="^" colwidth="141, 91, 223, 224, 226" ellipsis="true" frozenrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:285px; top:2px; width:890px; height:613px; ">
  1596. <col ref="item1"/>
  1597. <col ref="item2"/>
  1598. <col ref="item3"/>
  1599. <col ref="item4"/>
  1600. <col ref="item5"/>
  1601. </datagrid>
  1602. <treeview id="trv_ctlist" ref="/root/main/ctlist" expanddepth="2" itemsettype="depth" style="left:0px; top:3px; width:285px; height:612px; ">
  1603. <itemset nodeset="/root/main/ctlist/item">
  1604. <label ref="ajclsnm"/>
  1605. <value ref="ajclscd"/>
  1606. <depth ref="depth"/>
  1607. </itemset>
  1608. <script type="javascript" ev:event="onclick">
  1609. <![CDATA[
  1610. var iRow = (trv_ctlist.selectedIndex + 1); //인스턴스는 1부터 시작이므로 1을 더한다.
  1611. var ajclscd1 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd1")
  1612. var ajclscd2 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd2")
  1613. var ajclscd3 = model.getValue("/root/main/ctlist/item[" + iRow + "]/ajclscd3")
  1614. model.makeValue("/root/send_05300/reqdata/srchajclscd1" , ajclscd1);
  1615. model.makeValue("/root/send_05300/reqdata/srchajclscd2" , ajclscd2 );
  1616. model.makeValue("/root/send_05300/reqdata/srchajclscd3" , ajclscd3 );
  1617. model.makeValue("/root/send_05300/reqdata/srchinstcd" , model.getValue("/root/main/patinfo/instcd"));
  1618. model.makeValue("/root/send_05300/reqdata/srchhealexamflag" , model.getValue("/root/main/patinfo/healexamflag"));
  1619. model.makeValue("/root/send_05300/reqdata/srchrsrvdd" , model.getValue("/root/main/patinfo/rsrvno"));
  1620. model.makeValue("/root/send_05300/reqdata/srchrsrvno" , model.getValue("/root/main/ctlist/item[" + iRow + "]/rsrvno"));
  1621. model.makeValue("/root/send_05300/reqdata/srchtestcd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/testcd"));
  1622. model.makeValue("/root/send_05300/reqdata/srchrslthistseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/rslthistseq"));
  1623. model.makeValue("/root/send_05300/reqdata/srchtretdd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/tretdd"));
  1624. model.makeValue("/root/send_05300/reqdata/srchchngseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/chngseq"));
  1625. model.makeValue("/root/send_05300/reqdata/srchinsseq" , model.getValue("/root/main/ctlist/item[" + iRow + "]/insseq"));
  1626. model.makeValue("/root/send_05300/reqdata/srchhopedd" , model.getValue("/root/main/patinfo/hopedd"));
  1627. model.makeValue("/root/send_05300/reqdata/srchtestcd" , model.getValue("/root/main/ctlist/item[" + iRow + "]/testcd"));
  1628. model.makeValue("/root/send_05300/reqdata/srchflag" ,'ct');
  1629. submit("TRAHB05313");
  1630. if( getNodesetCount("/root/main/ctdetllist/item") > 1){
  1631. grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item1")) = model.getValue("/root/main/ctdetllist/item[1]/item1");
  1632. grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item2")) = model.getValue("/root/main/ctdetllist/item[1]/item2");
  1633. grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item3")) = model.getValue("/root/main/ctdetllist/item[1]/item3");
  1634. grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item4")) = model.getValue("/root/main/ctdetllist/item[1]/item4");
  1635. grd_ctlist.valueMatrix(0,grd_ctlist.colRef("item5")) = model.getValue("/root/main/ctdetllist/item[1]/item5");
  1636. grd_ctlist.rowHeight(1) = 0; // 삭제하면 그리드 깨짐 ; 행 높이 0으로 대체함.
  1637. }
  1638. model.refresh();
  1639. grd_ctlist.mergecol(2) = false;
  1640. grd_ctlist.mergecol(3) = false;
  1641. grd_ctlist.mergecol(4) = false;
  1642. grd_ctlist.mergecol(5) = false;
  1643. grd_ctlist.mergecells = "bycol";
  1644. ]]>
  1645. </script>
  1646. </treeview>
  1647. </case>
  1648. <case id="case_testcls23">
  1649. <switch id="switch1" style="left:0px; top:25px; width:705px; height:585px; ">
  1650. <case id="case1" selected="true">
  1651. <caption id="caption1" class="cell_1" style="left:0px; top:5px; width:1144px; height:20px; ">■ 심혈관 질환 위험도 평가</caption>
  1652. <datagrid id="grd_lvl1_list" nodeset="/root/main/data/lvl1_list" caption="결정적 위험 요인^해당" colsep="^" colwidth="200, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:181px; top:45px; width:323px; height:430px; ">
  1653. <col ref="item5"/>
  1654. <col checkvalue="Y,N" disabled="false" ref="item6" type="checkbox"/>
  1655. <col ref="item7" visibility="hidden"/>
  1656. </datagrid>
  1657. <datagrid id="grd_lvl2_list" nodeset="/root/main/data/lvl2_list" caption="강한 위험요인^해당" colsep="^" colwidth="200, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:505px; top:45px; width:325px; height:430px; ">
  1658. <col ref="item5"/>
  1659. <col checkvalue="Y,N" ref="item6" type="checkbox"/>
  1660. <col ref="item7" visibility="hidden"/>
  1661. </datagrid>
  1662. <datagrid id="datagrid6" nodeset="/root/main/data/sim_list" allowuserresize="true" autoresize="true" autosizemouse="true" caption="위험도 항목" colsep="^" colwidth="175" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:45px; width:180px; height:140px; ">
  1663. <col ref="item4"/>
  1664. </datagrid>
  1665. <datagrid id="grd_lvl3_list" nodeset="/root/main/data/lvl3_list" caption="보호 요인^해당" colsep="^" colwidth="195, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:830px; top:45px; width:319px; height:445px; ">
  1666. <col ref="item5"/>
  1667. <col checkvalue="Y,N" ref="item6" type="checkbox"/>
  1668. <col ref="item7" visibility="hidden"/>
  1669. </datagrid>
  1670. <caption id="caption8" style="left:0px; top:25px; width:1144px; height:20px; ">심혈관 질환(관상동맥 질환) 위험도는 현재까지 연구된 결과를 바탕으로 알려진 여러가지 심혈관 질환에 영향을 미치는 위험 요인을 고려하여 향후 심현관 질환 발생 가능성을 알려드립니다.</caption>
  1671. <caption id="caption13" class="cell_1" style="left:0px; top:480px; width:1144px; height:20px; ">[분석 결과]</caption>
  1672. <textarea id="textarea5" ref="/root/main/data/sim_list/item2" style="left:0px; top:504px; width:1149px; height:61px; "/>
  1673. <col ref="item1"/>
  1674. <datagrid id="datagrid1" nodeset="/root/main/data/sim_list" autoresize="true" caption="평가" colsep="^" colwidth="175" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:190px; width:180px; height:150px; ">
  1675. <col ref="item1"/>
  1676. </datagrid>
  1677. <datagrid id="datagrid2" nodeset="/root/main/data/sim_list" visibility="hidden" autoresize="true" caption="결과" colsep="^" colwidth="174" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:345px; width:180px; height:130px; ">
  1678. <col ref="item3" style="left:0px; top:23px; width:174px; height:23px; "/>
  1679. </datagrid>
  1680. <button id="btn_simsave" class="btn5_letter2" style="left:165px; top:5px; width:42px; height:19px; ">
  1681. <caption>저장</caption>
  1682. <script type="javascript" ev:event="onclick">
  1683. <![CDATA[
  1684. model.removeNode("/root/updatelist/send_05300/reqdata/savedata");
  1685. model.makeNode("/root/updatelist/send_05300/reqdata/savedata");
  1686. model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl1_list", grd_lvl1_list.getUpdateData());
  1687. model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl2_list", grd_lvl2_list.getUpdateData());
  1688. model.makeValue("/root/updatelist/send_05300/reqdata/savedata/lvl3_list", grd_lvl3_list.getUpdateData());
  1689. model.makeNode("/root/updatelist/send_05300/reqdata/savedata/patinfo");
  1690. model.copyNode("/root/updatelist/send_05300/reqdata/savedata/patinfo" , "/root/temp");
  1691. submit("TXAHB05307",false);
  1692. button1.dispatch("onclick");
  1693. ]]>
  1694. </script>
  1695. </button>
  1696. </case>
  1697. <case id="case2">
  1698. <datagrid id="grd_framlist" nodeset="/root/main/data/f_list" caption="1차요인^min^max^2차요인^min^max^점수^해당범위^점수" colsep="^" colwidth="133, 50, 50, 145, 50, 50, 118, 19, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:0px; top:25px; width:695px; height:475px; ">
  1699. <col ref="item1"/>
  1700. <col ref="item2"/>
  1701. <col ref="item3"/>
  1702. <col ref="item4"/>
  1703. <col ref="item5"/>
  1704. <col ref="item6"/>
  1705. <col ref="item7"/>
  1706. <col ref="item8" visibility="hidden"/>
  1707. <col ref="item9" visibility="hidden"/>
  1708. <col ref="item10" visibility="hidden"/>
  1709. </datagrid>
  1710. <caption id="caption14" class="tit_2" style="left:2px; top:6px; width:151px; height:13px; ">Framingham score</caption>
  1711. <line id="line8" class="line_1" style="x1:0px; y1:20px; x2:695px; y2:20px; "/>
  1712. <caption id="caption18" class="tit_2" style="left:0px; top:505px; width:236px; height:13px; ">Framingham score 분석결과</caption>
  1713. <line id="line5" class="line_1" style="x1:0px; y1:522px; x2:695px; y2:521px; "/>
  1714. <caption id="caption15" style="left:10px; top:525px; width:315px; height:35px; ">점수 : 점 10년 후 위험도 : %</caption>
  1715. <output id="output6" ref="/root/main/data/f2_list/item1" style="left:226px; top:532px; width:55px; height:19px; font-size:16pt; font-weight:bold; text-align:center; "/>
  1716. <output id="output7" ref="/root/main/data/f2_list/item2" style="left:46px; top:532px; width:60px; height:19px; font-size:16pt; font-weight:bold; text-align:center; "/>
  1717. <button id="button21" class="btn2_letter5" style="left:620px; top:0px; width:75px; height:19px; ">
  1718. <caption>점수산출법</caption>
  1719. <script type="javascript" ev:event="onclick">
  1720. <![CDATA[
  1721. modal("SMAHB04400", "1","50", "50", "SMAHB04400", "", "", ""); //sysmenu:hidden
  1722. ]]>
  1723. </script>
  1724. </button>
  1725. <caption id="caption16" style="left:10px; top:555px; width:593px; height:20px; color:#ff0000; ">* 나이, 흡연여부, 총콜레스테롤 , HDL-콜레스테롤, 수축기 혈압이 모두 입력되어있어야 계산값이 정확합니다.</caption>
  1726. </case>
  1727. <case id="case3">
  1728. <textarea id="textarea6" ref="/root/main/data/desa_list/item1" style="left:0px; top:504px; width:1149px; height:61px; "/>
  1729. <datagrid id="grd_desa1_list" nodeset="/root/main/data/desa1_list" caption="항목^기준^결과^해당" colsep="^" colwidth="329, 146, 138, 77" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:1149px; height:405px; ">
  1730. <col ref="item1"/>
  1731. <col ref="item2"/>
  1732. <col ref="item3"/>
  1733. <col checkvalue="Y,N" ref="item6" type="checkbox"/>
  1734. <col ref="item7" visibility="hidden"/>
  1735. </datagrid>
  1736. <caption id="caption20" class="cell_1" style="left:0px; top:5px; width:1144px; height:20px; ">■ 대사증후군 평가</caption>
  1737. <caption id="caption21" style="left:0px; top:30px; width:1144px; height:40px; ">
  1738. <![CDATA[대사증후군이랑 여러 가지 대사 상태를 복합적으로 고려한 종합적 평가 기준으로서, 비만 그중에서도 특히 복부비만과 신체활동의 저하로 인한 인슐린 저항성과 관런이 있습니다.
  1739. 대사 증후군의 요소들은 서로 같이 나타나는 경우가 많으며, 대사 증후군의 경우 심혈관 질환의 위험성이 높아집니다. 여기서는 NCEP 기준을 적용하여 평가하였습니다.]]>
  1740. </caption>
  1741. <caption id="caption22" class="cell_1" style="left:0px; top:480px; width:1144px; height:20px; ">[분석 결과]</caption>
  1742. <button id="btn_desa_save" class="btn5_letter2" style="left:115px; top:5px; width:100px; height:20px; ">
  1743. <caption>저장</caption>
  1744. <script type="javascript" ev:event="onclick">
  1745. <![CDATA[
  1746. model.removeNode("/root/updatelist/send_05300/reqdata/savedata");
  1747. model.makeNode("/root/updatelist/send_05300/reqdata/savedata");
  1748. model.makeValue("/root/updatelist/send_05300/reqdata/savedata/desa1_list", grd_desa1_list.getUpdateData());
  1749. model.makeNode("/root/updatelist/send_05300/reqdata/savedata/patinfo");
  1750. model.copyNode("/root/updatelist/send_05300/reqdata/savedata/patinfo" , "/root/temp");
  1751. submit("TXAHB05307",false);
  1752. button1.dispatch("onclick");
  1753. ]]>
  1754. </script>
  1755. </button>
  1756. </case>
  1757. </switch>
  1758. <button id="button6" class="btn_sw" group="tab" style="left:120px; top:4px; width:135px; height:22px; ">
  1759. <caption>Framingham score</caption>
  1760. <toggle case="case2" ev:event="onclick"/>
  1761. <script type="javascript" ev:event="onclick">
  1762. <![CDATA[
  1763. model.setValue("/root/tmp/tabflag",'fs');
  1764. ]]>
  1765. </script>
  1766. </button>
  1767. <button id="button7" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:120px; height:22px; ">
  1768. <caption>심혈관질환위험도</caption>
  1769. <toggle case="case1" ev:event="onclick"/>
  1770. <script type="javascript" ev:event="onclick">
  1771. <![CDATA[
  1772. model.setValue("/root/tmp/tabflag",'cmt');
  1773. ]]>
  1774. </script>
  1775. </button>
  1776. <button id="button8" class="btn_sw" group="tab" style="left:255px; top:4px; width:135px; height:22px; ">
  1777. <caption>대사증후군 평가</caption>
  1778. <toggle case="case3" ev:event="onclick"/>
  1779. <script type="javascript" ev:event="onclick">
  1780. <![CDATA[
  1781. model.setValue("/root/tmp/tabflag",'desa');
  1782. ]]>
  1783. </script>
  1784. </button>
  1785. </case>
  1786. </switch>
  1787. </group>
  1788. <script type="javascript" ev:event="onkeydown">
  1789. <![CDATA[
  1790. //F7 저장 단축키
  1791. if(event.keyCode == 118) {
  1792. if(grd_acptlst.row < 0) {
  1793. messageBox("대기자를","C002");
  1794. }else {
  1795. save.dispatch("DOMActivate");
  1796. }
  1797. }
  1798. //F9 다음 사람 단축키
  1799. if(event.keyCode == 120) {
  1800. if(grd_acptlst.row < 0) {
  1801. grd_acptlst.row = 1;
  1802. grd_acptlst.dispatch("onclick");
  1803. }else if(grd_acptlst.row == grd_acptlst.rows -1) {
  1804. messageBox("다음 대기자가","I004");
  1805. return;
  1806. }else {
  1807. grd_acptlst.row = grd_acptlst.row + 1;
  1808. grd_acptlst.dispatch("onclick");
  1809. }
  1810. }
  1811. //F10 다음 검사 단축키
  1812. if(event.keyCode == 121) {
  1813. if(grd_rsltlst.row < 0) {
  1814. grd_rsltlst.row = 1;
  1815. }else if(grd_rsltlst.row == grd_rsltlst.rows - 1){
  1816. messageBox("다음 검사내역이","I004");
  1817. }else {
  1818. grd_rsltlst.row = grd_rsltlst.row + 1;
  1819. }
  1820. if(!grd_rsltlst.isReadOnly(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"))) {
  1821. grd_rsltlst.editCell();
  1822. }
  1823. }
  1824. ]]>
  1825. </script>
  1826. </xhtml:body>
  1827. </xhtml:html>